export default {
  namespaced: true,
  state () {
    return {
      value: 0
    }
  },
  actions: {
    increment ({commit}) {
      commit('increment')
    },
    decrement ({commit}) {
      commit('decrement')
    }
  },
  mutations: {
    increment (state) {
      state.value++
    },
    decrement (state) {
      state.value--
    }
  }
}
